package com.yunlongn.async.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.helpers.NOPLogger;

import java.lang.reflect.Proxy;

/**
 * @author yunlong.li
 */
public class RetryScheduleLogger {
    private final static Logger logger;

    static {
        logger = LoggerFactory.getLogger(RetryScheduleLogger.class);
    }


    public static void debug(String s) {
        logger.debug(s);
    }

    public static void debug(String s, Object... objects) {
        logger.debug(s, objects);
    }

    public static void info(String s) {
        logger.info(s);
    }

    public static void info(String s, Object... objects) {
        logger.info(s, objects);
    }

    public static void warn(String s) {
        logger.warn(s);
    }

    public static void warn(String s, Object... objects) {
        logger.warn(s, objects);
    }

    public static void error(String s) {
        logger.error(s);
    }

    public static void error(String s, Object... objects) {
        logger.error(s, objects);
    }
}
